home *** CD-ROM | disk | FTP | other *** search
- Path: kaa.hds.univ-compiegne.fr!capi
- From: capi@hds.univ-compiegne.fr ()
- Newsgroups: comp.std.c
- Subject: how pass argv to exec cde ?
- Date: 7 Feb 1996 23:35:52 GMT
- Organization: Universite de Technologie de Compiegne - France
- Message-ID: <4fbd0o$aj5@sunsic.si.univ-compiegne.fr>
- NNTP-Posting-Host: kaa.hds.univ-compiegne.fr
- X-Newsreader: TIN [version 1.2 PL2]
-
- hello everybody
- i hope that i am in the right group !
-
- i want do start the edit.com program via a C file
- the cde is c:\dos\edit.com
- and the argument is the name of a file, for exemple zoo.asm
-
- i've try the exec..(path, argv) cde with
- path="c:\\dos\\edit.com" and
- argv[0]="zoo.asm"
- argv[1]=null
-
- but when edit start i've got an error : incorrect file name (for edit)
- where is the error ?
- who could help me ?
- many thanks for your reply
-
-